<template>
  <p>选中的人数{{peopleCount}}</p>
</template>
<script>
export default {
  data() {
    return {
      peopleCount: 0
    };
  },
  created() {
    this.$eventBus.$on("pc", this.pcChanged);
  },
  methods: {
    pcChanged(v) {
      this.peopleCount = v;
    }
  }
};
</script>